cmake_minimum_required(VERSION 2.8.12)

project(cvStudy)

set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)

set(OpenCV_DIR /usr/share/OpenCV)

find_package( OpenCV REQUIRED )

add_executable(${PROJECT_NAME} "main.cpp")

target_link_libraries(${PROJECT_NAME}
                        ${OpenCV_LIBS})
